package cn.ihuizi.entity;

import java.util.List;
import java.util.Vector;

public class Admin {
	int id;//管理员id
	int ar_id;//管理员角色id
	String name;//姓名
	String account;//登录名
	String loginpwd;//登录密码
	String phone;//管理员电话
	String email;//管理员邮箱
	String time;//授权日期
	List<String> list;
	public Admin() {
	}
	
	public Admin(String account) {
		super();
		this.account = account;
	}

	public Admin(String account, String loginpwd) {
		super();
		this.account = account;
		this.loginpwd = loginpwd;
	}
	
	public Admin(String name, String account, String phone, String email) {
		super();
		this.name = name;
		this.account = account;
		this.phone = phone;
		this.email = email;
	}	
	
	

	public Admin(int id, String name, String account, String phone, String email, String time, List<String> list) {
		super();
		this.id = id;
		this.name = name;
		this.account = account;
		this.phone = phone;
		this.email = email;
		this.time = time;
		this.list = list;
	}
	public Admin(int id, String name, String account, String phone, String email, String time) {
		super();
		this.id = id;
		this.name = name;
		this.account = account;
		this.phone = phone;
		this.email = email;
		this.time = time;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getAr_id() {
		return ar_id;
	}
	public void setAr_id(int ar_id) {
		this.ar_id = ar_id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getAccount() {
		return account;
	}
	public void setAccount(String account) {
		this.account = account;
	}
	public String getLoginpwd() {
		return loginpwd;
	}
	public void setLoginpwd(String loginpwd) {
		this.loginpwd = loginpwd;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getTime() {
		return time;
	}
	public void setTime(String time) {
		this.time = time;
	}
	public List<String> getList() {
		return list;
	}
	public void setList(List<String> list) {
		this.list = list;
	}
	

	@Override
	public String toString() {
		return "Admin [id=" + id + ", ar_id=" + ar_id + ", name=" + name + ", account=" + account + ", loginpwd="
				+ loginpwd + ", phone=" + phone + ", email=" + email + ", time=" + time + "]";
	}
	
}
